/**
* Copyright © 2018-2019, by 晓叹星沉.
*/
package org.aurora.aurora.springcloud.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 
 * <p>
 * 此处填写类说明
 * </p>
 * @author 晓叹星沉
 * @since jdk1.8
 * 2019年7月16日
 *  
 */
@FeignClient(value = "hello-service", fallback = FeignFallBack.class)
public interface FeignService {

	@RequestMapping(value = "/hello", method= RequestMethod.GET)
    String hello() ;
	
	@RequestMapping(value = "/hellol", method= RequestMethod.GET)
    String hello(@RequestParam("name") String name) ;

}
